package com.kaitian.demo.cloud.eureka_client1.config;

import feign.Logger;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author ：xietian
 * @version ：V1.0
 * @program ：demo
 * @date ：Created in 2022/4/12 17:39
 * @description ：
 */
@EnableFeignClients("com.kaitian.demo.cloud.*.feign")
@Configuration
public class FeignConfig {

    @Bean
    public Logger.Level logLevel(){
        return Logger.Level.FULL;
    }
}